<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
        <head><title>class AnyRef in package scala</title>
        <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta><meta content="scaladoc (version 2.6.1-final)" name="generator"></meta><link href="../style.css" type="text/css" rel="stylesheet"></link><script type="text/javascript" src="../script.js"></script>
        </head>
        <body onload="init()">
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Scala 2</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
        
      <div class="entity">
        <a href="../scala$package.html" target="_self">scala</a>
        <br></br>
        <span class="entity">class  AnyRef</span>
      </div><hr></hr>
      <div class="source">
        [Source: none]
      </div><hr></hr>
      <a name="AnyRef"></a><dl>
      <dt>
        
        <code></code>
        <code>class</code>
        <em>AnyRef</em>
      </dt>
      <dd><code> extends </code><a href="../scala/Any.html" target="_self">Any</a></dd>
    </dl>
      <dl><dd>/* <p>
       Class <code>AnyRef</code> is the root class of all
       <em>reference types</em>.
     </p>
   /</dd></dl>
      <dl></dl>
    
      


<table summary="" cellpadding="3" class="member">
      <tr><td class="title" colspan="2">Method Summary</td></tr>
      <tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#%21%3D%28AnyRef%29" target="_self">!=</a></em>
        (<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#%3D%3D%28AnyRef%29" target="_self">==</a></em>
        (<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>protected def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#clone%28%29" target="_self">clone</a></em>
         : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#eq%28AnyRef%29" target="_self">eq</a></em>
        (<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#equals%28Any%29" target="_self">equals</a></em>
        (<em>arg0</em> : <a href="../scala/Any.html" target="_self">Any</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>protected def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#finalize%28%29" target="_self">finalize</a></em>
         : <a href="../scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#getClass%28%29" target="_self">getClass</a></em>
         : <a href="" target="contentFrame" class="java/lang/Class">java.lang.Class</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#hashCode%28%29" target="_self">hashCode</a></em>
         : <a href="../scala/Int.html" target="_self">Int</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#ne%28AnyRef%29" target="_self">ne</a></em>
        (<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#notify%28%29" target="_self">notify</a></em>
         : <a href="../scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#notifyAll%28%29" target="_self">notifyAll</a></em>
         : <a href="../scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#synchronized%28T0%29" target="_self">synchronized</a></em>
        [<em>T0</em>](<em>arg0</em> : <a href="../scala/AnyRef.html#synchronized%28T0%29#T0" target="_self">T0</a>) : <a href="../scala/AnyRef.html#synchronized%28T0%29#T0" target="_self">T0</a>
        
        <div>/* <p>
       To make your programs thread-safe, you must first identify what
       data will be shared across threads. If you are writing data that
       may be read later by another thread, or reading data that may
       have been written by another thread, then that data is shared,
       and you must synchronize when accessing it.
     </p></div>
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code> def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#toString%28%29" target="_self">toString</a></em>
         : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#wait%28Long%29" target="_self">wait</a></em>
        (<em>arg0</em> : <a href="../scala/Long.html" target="_self">Long</a>) : <a href="../scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#wait%28Long%2CInt%29" target="_self">wait</a></em>
        (<em>arg0</em> : <a href="../scala/Long.html" target="_self">Long</a>, <em>arg1</em> : <a href="../scala/Int.html" target="_self">Int</a>) : <a href="../scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
<tr>
      <td class="modifiers" valign="top"> 
        <code>final def</code>
      </td>
      <td class="signature">
        <em><a href="../scala/AnyRef.html#wait%28%29" target="_self">wait</a></em>
         : <a href="../scala/Unit.html" target="_self">Unit</a>
        
        
      </td>
    </tr>
      </table><table summary="" cellpadding="3" class="inherited">
        <tr><td class="title" colspan="2">
          Methods inherited from <a href="../scala/Any.html" target="_self">Any</a>
        </td></tr>
        <tr><td class="signature" colspan="2">
          <a href="../scala/Any.html#%3D%3D%28Any%29" target="_self">==</a>, <a href="../scala/Any.html#%21%3D%28Any%29" target="_self">!=</a>, <a href="../scala/Any.html#isInstanceOf" target="_self">isInstanceOf</a>, <a href="../scala/Any.html#asInstanceOf" target="_self">asInstanceOf</a>
        </td></tr>
      </table>


      


<table summary="" cellpadding="3" class="member-detail">
          <tr><td class="title">Method Details</td></tr>
        </table><div><a name="getClass%28%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>getClass</em> : <a href="" target="contentFrame" class="java/lang/Class">java.lang.Class</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="hashCode%28%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>hashCode</em> : <a href="../scala/Int.html" target="_self">Int</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="../scala/Any.html" target="_self">Any</a>.<a href="../scala/Any.html#hashCode%28%29" target="_self">hashCode</a>
        </dd>
      </dl><hr></hr>
<a name="equals%28Any%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>equals</em>(<em>arg0</em> : <a href="../scala/Any.html" target="_self">Any</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="../scala/Any.html" target="_self">Any</a>.<a href="../scala/Any.html#equals%28Any%29" target="_self">equals</a>
        </dd>
      </dl><hr></hr>
<a name="clone%28%29"></a><dl>
      <dt>
        
        <code>protected</code>
        <code>def</code>
        <em>clone</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="toString%28%29"></a><dl>
      <dt>
        
        <code></code>
        <code>def</code>
        <em>toString</em> : <a href="" target="contentFrame" class="java/lang/String">java.lang.String</a>
      </dt>
      <dd></dd>
    </dl><dl>
        <dt style="margin:10px 0 0 20px;">
          <b>Overrides</b>
        </dt>
        <dd>
        <a href="../scala/Any.html" target="_self">Any</a>.<a href="../scala/Any.html#toString%28%29" target="_self">toString</a>
        </dd>
      </dl><hr></hr>
<a name="notify%28%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>notify</em> : <a href="../scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="notifyAll%28%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>notifyAll</em> : <a href="../scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="wait%28Long%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>wait</em>(<em>arg0</em> : <a href="../scala/Long.html" target="_self">Long</a>) : <a href="../scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="wait%28Long%2CInt%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>wait</em>(<em>arg0</em> : <a href="../scala/Long.html" target="_self">Long</a>, <em>arg1</em> : <a href="../scala/Int.html" target="_self">Int</a>) : <a href="../scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="wait%28%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>wait</em> : <a href="../scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="finalize%28%29"></a><dl>
      <dt>
        
        <code>protected</code>
        <code>def</code>
        <em>finalize</em> : <a href="../scala/Unit.html" target="_self">Unit</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="%3D%3D%28AnyRef%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>==</em>(<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="%21%3D%28AnyRef%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>!=</em>(<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="eq%28AnyRef%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>eq</em>(<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="ne%28AnyRef%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>ne</em>(<em>arg0</em> : <a href="../scala/AnyRef.html" target="_self">AnyRef</a>) : <a href="../scala/Boolean.html" target="_self">Boolean</a>
      </dt>
      <dd></dd>
    </dl><hr></hr>
<a name="synchronized%28T0%29"></a><dl>
      <dt>
        
        <code>final</code>
        <code>def</code>
        <em>synchronized</em>[<em>T0</em>](<em>arg0</em> : <a href="../scala/AnyRef.html#synchronized%28T0%29#T0" target="_self">T0</a>) : <a href="../scala/AnyRef.html#synchronized%28T0%29#T0" target="_self">T0</a>
      </dt>
      <dd></dd>
    </dl>
      <dl><dd>/* <p>
       To make your programs thread-safe, you must first identify what
       data will be shared across threads. If you are writing data that
       may be read later by another thread, or reading data that may
       have been written by another thread, then that data is shared,
       and you must synchronize when accessing it.
     </p></dd></dl>
      <dl><dt style="margin:10px 0 0 20px;">
        <b>See Also</b></dt><dd><ul><li>The Java Tutorials:         <a href="http://java.sun.com/docs/books/tutorial/essential/concurrency/sync.html"
         target="_top">Synchronization</a>.</li>
         <li> IBM developerWorks:
         <a href="http://www-128.ibm.com/developerworks/java/library/j-threads1.html"
         target="_top">Synchronization is not the enemy</a>.</li></ul>
   /</dd></dl>
    <hr></hr></div>


    <hr></hr>
        <table summary="" class="navigation">
        <tr>
          <td class="navigation-links" valign="top">
            <!-- <table><tr></tr></table> -->
          </td>
          <td align="right" valign="top" style="white-space:nowrap;" rowspan="2">
            <div class="doctitle-larger">Scala 2</div>
          </td>
        </tr>
        <tr><td></td></tr>
      </table>
      </body>
      </html>